import entity.User;
import service.UserManagement;

import javax.jws.soap.SOAPBinding;
import java.util.Scanner;

public class Client {
    private static Scanner scanner = new Scanner(System.in);
        //定义用户管理名 唯一
    private static UserManagement um = new UserManagement();

    public static void main(String[] args) {

        while (true){
            System.out.println("**********超市管理系统***********");
            System.out.println("请选择： 1.登录  2.注册  ");

            int str = scanner.nextInt();
            switch (str){
                case 1:

                    break;
                case 2:

                    break;
                default:
                    System.out.println("输入有误！");
                    return;
            }
        }
    }
    private static void login(){
        System.out.println("请输入用户名：");
        String name = scanner.next();
        System.out.println("请输入密码：");
        String password = scanner.next();

        User user = new User(name,password);

    }
}
